package com.gxa.entity.extend;

import com.gxa.entity.Community;

import java.util.Date;

public class QueryAllCommunity extends Community {
    private Integer unit;
    private Integer unit_num;

    public QueryAllCommunity() {
    }

    public QueryAllCommunity(Integer unit, Integer unit_num) {
        this.unit = unit;
        this.unit_num = unit_num;
    }

    public QueryAllCommunity(Integer cid, String cname, String address, Double area, String creator, String managers, Date createTime, String remark, Integer unit, Integer unit_num) {
        super(cid, cname, address, area, creator, managers, createTime, remark);
        this.unit = unit;
        this.unit_num = unit_num;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public Integer getUnit_num() {
        return unit_num;
    }

    public void setUnit_num(Integer unit_num) {
        this.unit_num = unit_num;
    }

    @Override
    public String toString() {
        return "QueryAllCommunity{" +
                "unit=" + unit +
                ", unit_num=" + unit_num +
                '}';
    }
}
